
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont el-icon-k-user-manager"></i>
                    <div class="name">管理监测</div>
                    <div class="fontclass">.el-icon-k-user-manager</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-data-repair"></i>
                    <div class="name">数据维护</div>
                    <div class="fontclass">.el-icon-k-data-repair</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-repair2"></i>
                    <div class="name">维护</div>
                    <div class="fontclass">.el-icon-k-repair2</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-face"></i>
                    <div class="name">头像</div>
                    <div class="fontclass">.el-icon-k-face</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-management"></i>
                    <div class="name">管理</div>
                    <div class="fontclass">.el-icon-k-management</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-checkSubmit"></i>
                    <div class="name">签收</div>
                    <div class="fontclass">.el-icon-k-checkSubmit</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-home3"></i>
                    <div class="name">首页</div>
                    <div class="fontclass">.el-icon-k-home3</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-home2"></i>
                    <div class="name">首页</div>
                    <div class="fontclass">.el-icon-k-home2</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-group"></i>
                    <div class="name">多级管理</div>
                    <div class="fontclass">.el-icon-k-group</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-workgroup"></i>
                    <div class="name">工作组信息</div>
                    <div class="fontclass">.el-icon-k-workgroup</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-menu"></i>
                    <div class="name">菜单</div>
                    <div class="fontclass">.el-icon-k-menu</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-cache"></i>
                    <div class="name">存储</div>
                    <div class="fontclass">.el-icon-k-cache</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-param"></i>
                    <div class="name">参数</div>
                    <div class="fontclass">.el-icon-k-param</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-approve"></i>
                    <div class="name">审批流配置</div>
                    <div class="fontclass">.el-icon-k-approve</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-repair"></i>
                    <div class="name">后台维护</div>
                    <div class="fontclass">.el-icon-k-repair</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-approveSubmit"></i>
                    <div class="name">审批</div>
                    <div class="fontclass">.el-icon-k-approveSubmit</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-req"></i>
                    <div class="name">web__API访问</div>
                    <div class="fontclass">.el-icon-k-req</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-safe"></i>
                    <div class="name">安全保障</div>
                    <div class="fontclass">.el-icon-k-safe</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-add"></i>
                    <div class="name"> 增加</div>
                    <div class="fontclass">.el-icon-k-add</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-freeze"></i>
                    <div class="name">冻结</div>
                    <div class="fontclass">.el-icon-k-freeze</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-unfreeze"></i>
                    <div class="name">解冻</div>
                    <div class="fontclass">.el-icon-k-unfreeze</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-setting2"></i>
                    <div class="name">管理</div>
                    <div class="fontclass">.el-icon-k-setting2</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-counter"></i>
                    <div class="name">计数器</div>
                    <div class="fontclass">.el-icon-k-counter</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-wkf-agent"></i>
                    <div class="name">代理</div>
                    <div class="fontclass">.el-icon-k-wkf-agent</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-wkf-record"></i>
                    <div class="name">流程</div>
                    <div class="fontclass">.el-icon-k-wkf-record</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-role"></i>
                    <div class="name">角色管理</div>
                    <div class="fontclass">.el-icon-k-role</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-errCod"></i>
                    <div class="name">错误</div>
                    <div class="fontclass">.el-icon-k-errCod</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-schedular"></i>
                    <div class="name">班次管理</div>
                    <div class="fontclass">.el-icon-k-schedular</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-user-setting"></i>
                    <div class="name">人员管理</div>
                    <div class="fontclass">.el-icon-k-user-setting</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-info-setting"></i>
                    <div class="name">信息维护</div>
                    <div class="fontclass">.el-icon-k-info-setting</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-setting"></i>
                    <div class="name">管理模式</div>
                    <div class="fontclass">.el-icon-k-setting</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-schedule"></i>
                    <div class="name">待办</div>
                    <div class="fontclass">.el-icon-k-schedule</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-home"></i>
                    <div class="name">首页</div>
                    <div class="fontclass">.el-icon-k-home</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-k-common"></i>
                    <div class="name">公共</div>
                    <div class="fontclass">.el-icon-k-common</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">el-icon-k-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
